package com.njtoyo.taxi.admin.mapper.master.enums.local_service;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum LifeMemberState {
    inactive(0, "未激活"),
    active(1, "激活"),
    freeze_up(2, "冻结");

    @EnumValue
    private final int code;
    private final String desc;

    LifeMemberState(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
